<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台管理中心</title>
    <link rel="stylesheet" href="/layui/css/layui.css?v=1.0.0">
    <link rel="stylesheet" href="/admin/css/main.css?v=1.0.2">
    <link rel="stylesheet" href="/admin/css/app.css?v=1.0.0">
    <link rel="stylesheet" href="/admin/css/app.css?v=1.0.0">
    <link rel="stylesheet" href="/admin/css/media.css">
    <link rel="stylesheet" href="/admin/css/font.css">
    <link rel="stylesheet" href="/admin/css/layout.css?v=1.0.0">
    <link rel="stylesheet" href="/admin/css/layoutPosition.css?v=1.0.0">
    <link rel="stylesheet" href="/admin/css/color.css?v=1.0.0">
    <link rel="stylesheet" href="/admin/css/border.css?v=1.0.0">
    <link rel="stylesheet" href="/admin/css/flex.css?v=1.0.0">
    <link rel="stylesheet" href="/admin/css/fa.css">

    <link rel="stylesheet" href="/admin/css/muse-ui.css?v=1.0.2">
    <link rel="stylesheet" href="/admin/css/muse-ui-toast.all.css?v=1.0.2">
    <link rel="stylesheet" href="/admin/css/muse-ui-loading.all.css?v=1.0.2">
    <link rel="stylesheet" href="/admin/css/index.css{{ rnd }}">
</head>
<body style="margin: 0;padding: 0;" class="bc13">
{#<div class="pad5 tac red" style="background: #FFFF00">测试环境</div>#}
<div id="page">
    {#<div id="top" class="flex-r bc13">#}
        {#<div class="logo flex-r flex-center bc0" style="background-image: url('/wap/img/logo.png');background-position: center;background-size: contain;background-repeat: no-repeat;">#}

        {#<div class="flex1 flex-r flex-end" style="background: #393D49;">#}

        {#</div>#}
    {#</div>#}
    <div id="Main" class="flex-r flex-fill bdtso">
        {# 左边 start #}
        <div id="sideBar" style="    background: linear-gradient(to top,rgba(116,84,169,0.9) 0%,rgba(49,126,206,0.9) 100%);">
            <div class="logo flex-r flex-center padt3 padb3" >
                {#<span class="fs18 c11">MY LOGO</span>#}
                <img src="/admin/images/logo_text.jpg" alt="" style="width: 90%;height: auto;" />
            </div>
            {% include "LazyCommon/sidebar.php.twig" %}
        </div>
        {# 左边 start #}
        {# 右边 start #}
        <div class="flex1 flex-c flex-fill">
            <div class="flex-r flex-end" style="background-image: linear-gradient(120deg,#00e4d0,#5983e8)!important;">
                <ul class="layui-nav">
                    <li class="layui-nav-item">
                        <a href="javascript:;" class="">
                            {#<img src="//t.cn/RCzsdCq" class="layui-nav-img">#}
                            <span class="c11">管理员你好</span>
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="/" target="_blank">预览网站</a></dd>
                            {#<dd><a href="{{ path("adminCenterPage") }}" target="mainframe">管理中心首页</a></dd>#}
                            <dd><a href="{{ path("modAdminPasswordPage") }}" target="mainframe">修改密码</a></dd>
                            <dd><a href="{{ path('adminLogout') }}">注销登录</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
            <iframe class="flex10 flex-c flex-fill bcf" id="mainframe" name="mainframe" frameborder="0" src="{{ path("adminWelcomePage") }}"></iframe>
        </div>

        {# 右边 end #}
    </div>
</div>
</body>
<script src="/assets/js/jquery-1.10.2.min.js"></script>
<script src="/layui/layui.all.js"></script>
<script src="/admin/js/main.js"></script>
<script>
    $(function () {
        var h  = document.documentElement.clientHeight
        $("#page").height(h)
        $("#Main").height(h)
        window.onresize=function(){
            var h  = document.documentElement.clientHeight
            console.log(h)
            $("#page").height(h)
            $("#Main").height(h)
        }

    });
    var layer = layui.layer;//iframe调用

    function showSons(id) {
        $(".sonsGroup").hide();
        $("#box_" + id).show();

        $(".lines").hide();
        $(".line_" + id).show();

    }

</script>
</html>
